package cn.szabadsag.hrm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author yangcong
 * @date 2022年04月08日 9:53
 * @since
 */
@Configuration //其他地方要注入
@ConfigurationProperties(prefix = "file.aliyunoss")
@Data
public class AliyunOssProperties {

    private String bucketName;
    private String accessKey;
    private String secretKey;
    private String endpoint;
    private String dir;

}

